import instance from '@/utils/request';

export function getcustomerapi(data) {
    return instance.request({
        url: "api/ParkManage/GetCustomer",
        method: "post",
        data
    })
}

export function postcustomerapi(data) {
    return instance.request({
        url: "api/ParkManage/PostAddCustomer",
        method: "post",
        data
    })
}

export function putcustomerapi(data) {
    return instance.request({
        url: "api/ParkManage/PutUpdateCustomer",
        method: "put",
        data
    })
}

export function deletecustomerapi(data) {
    return instance.request({
        url: "api/ParkManage/DeleteById",
        method: "delete",
        data
    })
}